//
//  RoyAutoresizingTextView.h
//  StickerDemo
//
//  Created by 王若聪 on 2016/12/13.
//  Copyright © 2016年 ckj. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,RoyAutoresizingTextViewType){
    RoyAutoresizingTextViewTypeVertical = 0,
    RoyAutoresizingTextViewTypeFreedomTextLeft = 1,
    RoyAutoresizingTextViewTypeFreedomTextCenter = 2,
};

@protocol RoyAutoresizingTextViewDelegate;
@interface RoyAutoresizingTextView : UITextView

@property (assign, nonatomic) id<RoyAutoresizingTextViewDelegate> autoresizingTextViewDelegate;
@property (assign, nonatomic) RoyAutoresizingTextViewType type;


- (instancetype)initWithType:(RoyAutoresizingTextViewType)type;

@end



@protocol RoyAutoresizingTextViewDelegate <NSObject>
//- (void)autoresizingTextViewDidTap:(RoyAutoresizingTextView *)autoresizingTextView;
@end
